using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;
namespace Thaire.Investment.Repository
{
       
    class   EquityPriceMap : ClassMap<EquityPrice>
    {

        public EquityPriceMap()
            {
                Table("EQUITY_PRICE");
                Id(x => x.EquityPriceID, "EQUITY_PRICE_ID").GeneratedBy.Identity();

                Map(x => x.EquityHeaderID,"EQUITY_HEADER_ID");
 Map(x => x.TypePrice,"TYPE_PRICE");
 Map(x => x.Price,"EQUITY_PRICE");
 Map(x => x.PriceDate,"EQUITY_PRICE_DATE");

            }


    }

}